

#include <QuartzCore/QuartzCore.h>
#include "ka-system/timer.h"

uint64_t ka::getSystemTicks() {
    CFTimeInterval time = CACurrentMediaTime();
    return (uint64_t) (time * 1000.0);
}